# 作者：要努力，努力，再努力
# 开发时间：2022/4/28 15:53

class Student():

    def __init__(self, name, age, gender, score):
        self.name = name
        self.age = age
        self.gender = gender
        self.score = score

    def show(self):
        print(self.name, self.age, self.gender, self.score)


if __name__ == '__main__':
    lst = []
    for i in range(0, 3):
        s = input('输入学生信息: (用#分割)')
        s_lst = s.split('#')
        stu = Student(s_lst[0], s_lst[1], s_lst[2], s_lst[3])
        lst.append(stu)

    for item in lst:
        item.show()
